waitUntil { !isNull player };

// Hide markers from everyone
"natorespawnmarker" setMarkerAlphaLocal 0;
"csatrespawnmarker" setMarkerAlphaLocal 0;

// Hide BLUFOR only markers from OPFOR
if ((side player) == EAST) then 
{
"blu_planemarker" setMarkerAlphaLocal 0; // this makes the marker transparent
"blu_transhelimarker" setMarkerAlphaLocal 0;
"blu_attackhelimarker" setMarkerAlphaLocal 0;
"blu_armormarker" setMarkerAlphaLocal 0;
"blu_wheelmarker" setMarkerAlphaLocal 0;
};

// Hide OPFOR only markers from BLUFOR
if ((side player) == WEST) then 
{
"red_planemarker" setMarkerAlphaLocal 0; // this makes the marker transparent
"red_transhelimarker" setMarkerAlphaLocal 0;
"red_attackhelimarker" setMarkerAlphaLocal 0;
"red_armormarker" setMarkerAlphaLocal 0;
"red_wheelmarker" setMarkerAlphaLocal 0;
};